import React, { Component } from 'react'
import { fn } from '../high'

// mixins

class Warp extends Component {
    render() {
        const { count, add } = this.props
        return (
            <div>
                Warp -- { count }
                <button onClick = { add }>+++</button>
            </div>
        )
    }
}

Warp = fn(Warp)({
    count: 10000,
    num: 300,
    list: [1, 2]
})(1)

export default Warp
